<?php /* Smarty version Smarty3-SVN$Rev: 3286 $, created on 2012-02-16 10:59:15
         compiled from "D:\www\beimuaihui/views/admin\qa/qasurvey_list2.tpl" */ ?>
<?php /*%%SmartyHeaderCode:255194f3c71030d8533-97693273%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'f318c1c4dee4665af23d42f805023b936c43645e' => 
    array (
      0 => 'D:\\www\\beimuaihui/views/admin\\qa/qasurvey_list2.tpl',
      1 => 1329269692,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '255194f3c71030d8533-97693273',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<?php $_template = new Smarty_Internal_Template('header.tpl', $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
$_template->assign('JS',@BAOGG_JS);$_template->assign('CSS',@BAOGG_CSS); echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
		
		<script type="text/javascript">
			var LANG = <?php echo $_smarty_tpl->getVariable('LANG')->value;?>
;

			Ext.onReady(function() {
				Ext.QuickTips.init();

				var win_form = Ext.create('Ext.window.Window', <?php echo $_smarty_tpl->getVariable('form')->value;?>
);
				var form = Ext.getCmp("ext_form");

				var grid = Ext.create('Ext.panel.Panel', {

					id : 'ext_grid',

					region : 'center',

					dockedItems : [{
						xtype : 'toolbar',
						dock : 'top',
						items : ["-", {
							iconCls : 'search-icon',
							text : '查询',
							handler : function(btn, ev) {
								Ext.getCmp("win_form").show().center();
							}
						}]
					}],
					items : [{

						xtype : "component",

						id : 'report_content',
						name:'report_content',
						closable : true,

						border : 0,						

	                    layout: 'fit',
						
						style: {
							width: '100%',
							height:'100%'
						},
						autoEl : {

							tag : "iframe",
							layout:'fit',
							name:'report_content',

							src : "<?php echo $_smarty_tpl->getVariable('target_url')->value;?>
",

							frameBorder : "0",

							border : 'none'

						}

					}]
				});

				Ext.create('Ext.container.Viewport', {
					layout : 'border',
					renderTo : Ext.getBody(),
					items : grid
				});
				//	win_form.hide();
				win_form.show().center();
			})
		</script>
	</head>
	<body>
		<form id='myForm' name='myForm' method="post" action= "<?php echo $_smarty_tpl->getVariable('target_url')->value;?>
" target="report_content">
			
		</form>
		<div id="grid"></div>
	</body>
</html>
